package com.zhao.dota.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

@Data
public class MatchPlayerItem implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer itemId;

    private String name;

    /**
     * 价格
     */
    private Integer cost;
    /**
     * 是否神秘商店
     */
    private Boolean secretShop;
    /**
     * 是否边路商店
     */
    private Boolean sideShop;
    /**
     * 是否配方
     */
    private Boolean recipe;

    private String localizedName;

    private Integer matchPlayerId;

    /**
     * 物品位置，0-5是普通物品栏，6-8是备用物品栏，15是TP栏，16是中立物品栏
     */
    @TableField("`index`")
    private Integer index;

    private Long steamId;

    private Integer matchId;

}
